package org.one.afternoon.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

public class Data {
    private int status;
    private String format;
    private String encoding;
    private String audio;

    public Data() {
    }

    public Data(int status, String format, String encoding, String audio) {
        this.status = status;
        this.format = format;
        this.encoding = encoding;
        this.audio = audio;
    }

    @JsonProperty("status")
    public int getStatus() {
        return status;
    }

    @JsonProperty("status")
    public void setStatus(int status) {
        this.status = status;
    }

    @JsonProperty("format")
    public String getFormat() {
        return format;
    }

    @JsonProperty("format")
    public void setFormat(String format) {
        this.format = format;
    }

    @JsonProperty("encoding")
    public String getEncoding() {
        return encoding;
    }

    @JsonProperty("encoding")
    public void setEncoding(String encoding) {
        this.encoding = encoding;
    }

    @JsonProperty("audio")
    public String getAudio() {
        return audio;
    }

    @JsonProperty("audio")
    public void setAudio(String audio) {
        this.audio = audio;
    }

    @Override
    public String toString() {
        return "Data{" +
                "status=" + status +
                ", format='" + format + '\'' +
                ", encoding='" + encoding + '\'' +
                ", audio='" + audio + '\'' +
                '}';
    }
}
